<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>漫画搜索 - 提供最专业的漫画检索服务！</title>
    <meta name="keywords" content="漫画搜索, 漫画解析，免费漫画，在线解析，漫画控，漫画下载，看漫画，知音漫客，看漫画，神漫画，漫画台">
    <meta name="description" content="漫画搜索 - 提供最专业的漫画检索服务！">
  	<meta name="referrer" content="never">
    <link rel="stylesheet" type="text/css" href="css/web_comic_1_157c1aa.css">
    <link rel="stylesheet" type="text/css" href="css/web_footer_7906f6a.css">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

</head>
<body class="kkmh ltie">
<header id="header" class="ui-header clx">

    <nav class="main-nav clx">
        <div class="nav fleft">
            <ul>
                <li><a href="/" class="curr" title="首页" rel="nofollow">首页</a></li>
                <!--<li><a href="https://bbs.zxh.la" target="_blank" rel="nofollow">解忧论坛</a></li>-->
                <!--<li><a href="https://jq.qq.com/?_wv=1027&k=5TlEI1G"  rel="nofollow">交流群</a></li>-->
                <!--<li><a href="/" title="API接口" rel="nofollow">API接口</a></li>-->
            </ul>

        </div>
        <div class="user-container" style="height: 52px;">
        </div>
    </nav>
</header>
<div id="main" class="container clearfix">
    <div class="form-search">
        <form name="formSearch" onsubmit="return false">
            <div class="input-search">
                <div class="icon-search"><img src="https://static3w.kuaikanmanhua.com/static/img/search_5e7251b.png"
                                              alt="search"></div>
                <input type="text" id="txtKey" class="txt" placeholder="输入（粘贴）需要解析的漫画链接" autocomplete="off" value="">
                <button type="submit" id="btnSearch" class="btn">搜索</button>
            </div>
        </form>
    </div>

    <div class="wrapper kk-mod comic-item-detail">
        <div class="hd clearfix">
            <h2><i class="ico"><span id="comicName">漫画解析</span></i></h2>
            <div class="tab">
                <ul class="clearfix">
                    <li class="shareto_list shareto-button-box" id="shareto-box-vert">
                        <a class="btn-share" href="javascript:void(0);">
                            <i class="iconfont">&#xe612</i>更多</a>
                        <div class="shareto_items">
                            <div class="tit">更多</div>
                            <!--<div class="list">-->
                            <!--<a class="button_tsina">-->
                            <!--<span class="icon-sprite icon-tsina">新浪微博</span>-->
                            <!--</a>-->
                            <!--<a class="button_qzone">-->
                            <!--<span class="icon-sprite icon-qzone">QQ空间</span>-->
                            <!--</a>-->
                            <!--<a class="button_weixin">-->
                            <!--<span class="icon-sprite icon-weixin">微信</span>-->
                            <!--</a>-->
                            <!--</div>-->
                        </div>
                    </li>
                    <!--
                      <li class="praise-comic">
                              <i class="iconfont before">&#xe613</i>
                              <i class="iconfont after">&#xe610</i>
                              <span class="num">413783</span>
                      </li>
                  -->
                </ul>
            </div>
        </div>

        <div class="list comic-imgs" id="list-edit" data-coverimageurl="http://dman.zxh.la/images/dmanjc.png">

        </div>
    </div>


    <!--<div id="shareto-box" class="kk-mod shareto-button-box">-->
    <!--<div class="share-items clx">-->
    <!--<span class="txt">分享到：</span>-->
    <!--<a class="button_tsina">-->
    <!--<span class="icon-sprite icon-tsina">新浪微博</span>-->
    <!--</a>-->
    <!--<a class="button_qzone">-->
    <!--<span class="icon-sprite icon-qzone">QQ空间</span>-->
    <!--</a>-->
    <!--<a class="button_weixin">-->
    <!--<span class="icon-sprite icon-weixin">微信</span>-->
    <!--</a>-->
    <!--</div>-->
    <!--</div>-->

    <div id="sidebar" class="sidebar" style="margin-left: 42%;">
        <ul>
            <li class="backtop"><i class="iconfont">&#xe60e</i></li>
            <li class="download-app">
                <i class="iconfont">&#xe608</i>
                <div class="ewm">
                    <img src="http://bshare.optimix.asia/barCode?site=weixin&url=http://dman.zxh.la">
                </div>
            </li>
            <!-- <li class="tocomment"><a href="#comment-box" rel="nofollow"><i class="iconfont">&#xe611</i></a></li> -->
            <li class="switch-light"><i class="iconfont before">&#xe606</i><i class="iconfont after">&#xe605</i></li>
        </ul>
    </div>
</div>
<footer id="footer" class="ui-footer">
    <div class="inner">
        <div class="intro">
            <ul>
                <li><a href="/">解忧吧</a></li>
                <li><a href="/" rel="nofollow">友情链接</a></li>
                <li><a href="/" rel="nofollow">友情链接</a></li>
            </ul>
            <div class="bar-code">
                <p class="com com-3p">
                    <span class="weixin"></span>
                    <a href="#" class="weibo"></a>
                <div class="wei-code">
                    <!--<img src="images/wei-code-hover_c472ea3.png" alt="">-->
                </div>
                </p>
                <p class="com com-header">漫画搜索 - 提供最专业的漫画检索服务！</p>
                <p class="com">Copyright © 2018 dman.zxh.la All Rights Reserved</p>
            </div>
        </div>
    </div>
    <p class="ready" style="margin-top: 5px;">
        <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1262900166'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1262900166%26online%3D1%26show%3Dline' type='text/javascript'%3E%3C/script%3E"));</script>
    </p>
    <p class="ready">联系邮箱：3533333359@qq.com / 漫画搜索 - 提供最专业的漫画检索服务！ / 湘ICP备16019451号-4 </a></p>
    <p class="ready">免责声明：本站所有图片资源均来自网络检索。服务器仅展示第三方网站接口数据，并不存储任何视频资源。因此经由本站搜索所产生的任何结果皆不代表本站立场，本站不对其真实合法性以及版权负责，亦不承担任何法律责任</p>
    </div>
</footer>
<script type="text/javascript" src="js/web_comic_9ff2725.js"></script>
<script src="https://cdn.bootcss.com/layer/3.1.0/layer.js"></script>
<script src="//cdn.bootcss.com/jquery_lazyload/1.9.7/jquery.lazyload.js"></script>
<script src="js/public.js"></script>
<script src="js/base64.js"></script>
<script>
    var bookid = GetQueryString('bookid');
    var search = GetQueryString('search');
    var listid = GetQueryString('id');
    if(bookid!=null || search!=null || listid!=null){
        var loding = layer.msg('资源正在解析中...', {icon: 16, shade: 0.01,time:20000});
        $.getJSON('http://mhapi.zxh.la/show?source='+search+'&bookid='+bookid,function (obj) {
            if (listid==""){
                $('#list-edit').html('<img src="https://ws4.sinaimg.cn/large/006Xmmmgly1g0hqwwqeluj30cz07a0tu.jpg" style="width: 100%;"/>');
            }
            if (obj.length == 0) {
                layer.close(loding);
                $('#list-edit').html('<img src="https://ws4.sinaimg.cn/large/006Xmmmgly1g0hqwwqeluj30cz07a0tu.jpg" style="width: 100%;"/>');
            }
            $('#list-edit').html('');
            var imgstr = '';
            for (i in obj[listid]['mhdata']){
                imgstr += `<img data-kksrc="${encodeURI(obj[listid]['mhdata'][i]['imgurl'])}" class="lazy" h="585" alt="${obj[listid]['comicName']}" title="${obj[listid]['comicName']}" src="${encodeURI(obj[listid]['mhdata'][i]['imgurl'])}">`;
            }
            $('#comicName').text(obj[listid]['mhname']+obj[listid]['comicName']);
            $('.comic-imgs').append(`${imgstr}`);
            $('.comic-item-detail').append(`<div class="ft"><div class="tab"><ul class="clearfix"><li><a onclick="upper('${obj.length}');">上一话</a></li><li>|</li><li><a onclick="lower();">下一话</a></li></ul></div>`);
            layer.close(loding);
            var lock = false;

            window.onscroll = function () {
                var doc_height = $(document).height();
                var scroll_top = $(document).scrollTop();
                var window_height = $(window).height();

                if(scroll_top + window_height+5 >= doc_height){
                    if(!lock){
                        lock = true;
                        layer.confirm('是否切换章节？', {
                            end: function () {
                                lock = false;
                                (function smoothscroll(){
                                    var currentScroll = document.documentElement.scrollTop || document.body.scrollTop;
                                    if (currentScroll > 0) {
                                        window.requestAnimationFrame(smoothscroll);
                                        window.scrollTo (0,currentScroll - (currentScroll/5));
                                    }
                                })();
                            },
                            shadeClose: true, //开启遮罩关闭
                            btn: ['上一章','下一章'] //按钮
                        }, function(){
                            if(listid==Number(obj.length)-1){
                                lock = false;
                                layer.msg('这已经是第一个章节了', {icon: 5});
                            }else{
                                $.getJSON('http://mhapi.zxh.la/show?source='+GetQueryString('search')+'&bookid='+GetQueryString('bookid'),function (obj) {
                                    if (obj.length == 0) {
                                        $('#list-edit').html('<img src="https://ws4.sinaimg.cn/large/006Xmmmgly1g0hqwwqeluj30cz07a0tu.jpg" style="width: 100%;"/>');
                                    }
                                    var listids = Number(listid)+1;
                                    location.href = './img.html?id='+listids+'&bookid='+GetQueryString('bookid')+'&search='+GetQueryString('search');
                                });
                            }
                        },function(){
                            if(listid==0){
                                lock = false;
                                layer.msg('这已经是最新的章节了哦', {icon: 5});
                            }else{
                                var listids = Number(listid)-1;
                                location.href = './img.html?id='+listids+'&bookid='+GetQueryString('bookid')+'&search='+GetQueryString('search');
                            }
                        });
                    }
                }
            };
        });
    }else{
        $('#list-edit').html('<img src="https://ws4.sinaimg.cn/large/006Xmmmgly1g0hqwwqeluj30cz07a0tu.jpg" style="width: 100%;"/>');
    }
    function upper(num){
        if(listid==Number(num)-1){
            lock = false;
            layer.msg('这已经是第一个章节了', {icon: 5});
        }else{
            $.getJSON('http://mhapi.zxh.la/show?source='+GetQueryString('search')+'&bookid='+GetQueryString('bookid'),function (obj) {
                if (obj.length == 0) {
                    $('#list-edit').html('<img src="https://ws4.sinaimg.cn/large/006Xmmmgly1g0hqwwqeluj30cz07a0tu.jpg" style="width: 100%;"/>');
                }
                var listids = Number(listid)+1;
                location.href = './img.html?id='+listids+'&bookid='+GetQueryString('bookid')+'&search='+GetQueryString('search');
            });
        }
    }
    function lower() {
        if(listid==0){
            lock = false;
            layer.msg('这已经是最新的章节了哦', {icon: 5});
        }else{
            var listids = Number(listid)-1;
            location.href = './img.html?id='+listids+'&bookid='+GetQueryString('bookid')+'&search='+GetQueryString('search');
        }
    }
    $('#btnSearch').click(function () {
        var str = $('#txtKey').val();
        var base = new Base64();
        var result = base.encode(str);
        location.href = './index.html?name='+result;
    });


    $(".lazy").lazyload({placeholder:'https://ws1.sinaimg.cn/large/006Xmmmgly1fzr6p7u69pg303w03wzki.gif'});
</script>
<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

</body>
</html>